<div class="login_boxer" id="login_boxer">

	<?php
	session_start();

		if($_SESSION['user_id']==""){
			//未登录,调用下面记录
	?>
			<div class="nologin">
				<div class="login_type">
					<span class="user_access">用户登录</span>
				</div>
				<div class="loginform">
				<!-- login.php -->
				<form id="loginForm_apf_id_8" name="loginForm"
					action="wenda/?user/login.html" method="post">
				<input type="hidden" name="myForward" id="myForward" value="1">
				<div class="field01"><label>用户名</label> <input type="text" tabindex="1"
					value="手机或EMAIL" class="input_text_2" name="username"
					onfocus="javascript:if(this.value==&#39;手机或EMAIL&#39;)this.value=&#39;&#39;;this.className=&#39;input_text&#39;;">
				</div>
				<div class="field01"><label>密&nbsp;&nbsp;码</label> <input
					type="password" tabindex="2" class="input_text" name="password"> <a
					href="wenda/?user/getpass.html" class="forget">忘记密码</a></div>
				<div class="field02"><input type="checkbox"
					name="remember" id="remember" class="remember" tabindex="4"><label
					for="remember">自动登录</label><span class="gray">(仅限普通用户)</span></div>
				<div class="field03"><input type="submit" tabindex="3" name="submit"
					class="input_sbubmit" value="登 录"> <a
					href="zhuce.php">注册新用户</a></div>
				<input type="hidden" name="loginpost" value="1"> <input type="hidden"
					name="formhash"> <input type="hidden" id="systemtime" name="systemtime">
				<input type="hidden" name="sid" value="fangkewang"> <input type="hidden"
					name="url" id="history" value="aHR0cDovL2JlaWppbmcuYW5qdWtlLmNvbQ=="></form>
				</div>
				<div id="divWaitLogin" style="display: none;"></div>
			</div>
	<?php
		}else{
			//已登陆调用下面数据
	?>
		<div class="user_login">
			<div class="top_link"><a href="geren.php">我的房客网</a> | <a
				href="" target="_blank">选房单</a> | <a
				href="" target="_blank">找房条件</a></div>
			<dl class="user_dl01">
				<dt>房源太多，找起来太累？</dt>
				<dd><a href="geren.php"
					target="_blank">查看个性化推荐房源&gt;&gt;</a></dd>
			</dl>
			<dl class="user_dl02">
				<dt>我是房东：</dt>
				<dd><a href="geren.php?main=chushou_post" target="_blank">有房出售</a>，<a
					href="geren.php?main=chuzu_post" target="_blank">有房出租</a>&gt;&gt;</dd>
			</dl>
		</div>
	<?php
		}
	?>
</div>
